package com.situ.report.service;

import com.situ.report.dao.Gxdao;
import com.situ.report.entity.gx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GxServiceImpl implements GxService {
    @Autowired
    Gxdao dao;

    @Override
    public List<gx> queryall(gx g) {
        return dao.queryall(g);
    }

    @Override
    public List<gx> queryyesr() {
        return dao.queryyear();
    }
}
